import Vue from 'vue'
import Vuex from 'vuex'
// import app from './modules/app'
import user from './modules/user'
import state from './state';
import getters from './getters'
import actions from './actions';
import mutations from './mutations';


Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    // app,
    user
  },
  state,
  getters,
  mutations,
  actions
})

export default store
